package tugou

func (this *Gate) AddDynamic(who SessionDynamic) { //添加动态模块
	this.dynamics[who.GetId()] = who.getSelf()
}
func (this *Gate) RemoveDynamic(who SessionInfo) { //移除动态模块
	delete(this.dynamics, who.GetName())
}
func (this *Gate) AddFix(who SessionFix) { //添加固定模块
	this.fixs[who.GetName()] = who.getSelf()
}
func (this *Gate) RemoveFix(who SessionInfo) { //移除固定模块
	delete(this.fixs, who.GetName())
}

//工具
